package org.dwpd.utils;

public class RedisConstants {

    public static final String MESSAGE_KEY = "message:";
    public static final Long MESSAGE_TTL = 24L;
    public static final String LOCK_MESSAGE_KEY = "lock:message:";
    public static final String LOGIN_USER_KEY = "login:user:";
    public static final Long LOGIN_USER_TTL = 30L;

    public static final String EMAIL_CODE_KEY = "email:code:";
    public static final Long EMAIL_CODE_TTL = 3L;

    public static final String FOLLOW_KEY = "follow:";

    public static final String FANS_KEY = "fans:";

    public static final String INBOX_USER_KEY = "inbox:user:";

    public static final String BLOG_DETAIL_KEY="blog:detail:";
    public static final Long BLOG_DETAIL_TTL= 12L;
    public static final String BLOG_COMMENT_KEY="blog:comment:";
    public static final Long BLOG_COMMENT_TTL=12L;
    public static final String BLOG_LIKED_KEY="blog:liked:";
    public static final Long BLOG_LIKED_TTL=30L;
    public static final String BLOG_DISLIKED_KEY="blog:disliked:";
    public static final Long BLOG_DISLIKED_TTL=30L;
}
